package cn.xhy.material.controller.admin.producttype.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 产品类型新增/修改 Request VO")
@Data
public class ProductTypeSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "17460")
    private Long id;

    @Schema(description = "名称", example = "芋艿")
    private String name;

    @Schema(description = "等级")
    private Short categoryLevel;

    @Schema(description = "上级id", example = "13624")
    private Long parentId;

    @Schema(description = "显示顺序")
    private String sort;

    @Schema(description = "编号")
    private String serialNo;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "类型（1项目和零星，2办公）", example = "2")
    private Integer type;

}
